#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
    int sum,n;
    n=999;
    sum=1;

    for(int i=1;i<=n;i++)
    {
        sum=sum+i;
    }
    cout<<sum<<endl;

    system("pause");
    return 0;
}
